﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/// <summary>
/// This object represents the properties and methods of News Comment.
/// </summary>
namespace YouHP.Model
{
    public class NewsComment : IHydratable
    {
        public int Id { get; set; }
        public int NewsID { get; set; }
        public int UserID { get; set; }
        public string Alias { get; set; }
        public string CommentData { get; set; }
        public DateTime InsertDateTime { get; set; }

        public NewsComment()
        {
            Id = NewsID = UserID = -1;
            Alias = CommentData = "";
            InsertDateTime = DateTime.Now;
        }

        #region IHydratable
        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }
        #endregion
    }
}
